package com.zzedu.dto;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * 销售信息对象 zz_customer
 * 
 * @author Mr.Wang
 * @date 2025-05-29
 */
public class ZzCustomerDTO implements Serializable
{
    private static final long serialVersionUID = 1L;
    /** id */

    private Long id;
    /** 客户名称 */
    private String custName;
    /** 省 */
    private String province;
    /** 市 */
    private String city;
    /** 区 */
    private String district;
    /** 详细地址 */
    private String address;
    /** 客户联系人 */
    private String linkName;
    /** 客户联系电话 */
    private String linkTel;
    /** 产品包名称 */
    private String productName;
    /** 产品包价格 */
    private BigDecimal productPrice;
    /** 客户等级 */
    private String level;
    /** 来源渠道 */
    private String sourceChannel;
    /** 签约状态 */
    private String signState;
    /** 是否全款 */
    private Integer isAllPay;
    /** 跟进人 */
    private String nextDoUserName;
    /** 备注 */
    private String mark;
    /** 部门ID */
    private Long deptId;
    /** 添加时间 */

    private LocalDateTime gmtCreate;
    /** 更新时间 */

    private LocalDateTime gmtModify;
    /** 逻辑删除(0：未删除 1：id) */
    private Integer deleted;
    /** 创建人 */
    private Long createBy;
    /** 修改人 */
    private Long updateBy;
    private Map<String, Object> params;
    /**
     * 当前记录起始索引
     */
    private Long pageNum = 1l;

    /**
     * 每页显示记录数
     */
    private Long pageSize = 20l;

    /**
     * 排序列
     */
    private String orderByColumn;

    /**
     * 排序的方向desc或者asc
     */
    private String isAsc = "asc";

    /**
     * 查询时候  省 市 区 集合
     */
    private List<String[]> queryProvinceAndCityAndDistrict;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustName(String custName) 
    {
        this.custName = custName;
    }

    public String getCustName() 
    {
        return custName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLinkName(String linkName) 
    {
        this.linkName = linkName;
    }

    public String getLinkName() 
    {
        return linkName;
    }
    public void setLinkTel(String linkTel) 
    {
        this.linkTel = linkTel;
    }

    public String getLinkTel() 
    {
        return linkTel;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setSourceChannel(String sourceChannel) 
    {
        this.sourceChannel = sourceChannel;
    }

    public String getSourceChannel() 
    {
        return sourceChannel;
    }
    public void setSignState(String signState) 
    {
        this.signState = signState;
    }

    public String getSignState() 
    {
        return signState;
    }
    public void setIsAllPay(Integer isAllPay) 
    {
        this.isAllPay = isAllPay;
    }

    public Integer getIsAllPay() 
    {
        return isAllPay;
    }
    public void setNextDoUserName(String nextDoUserName) 
    {
        this.nextDoUserName = nextDoUserName;
    }

    public String getNextDoUserName() 
    {
        return nextDoUserName;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setGmtCreate(LocalDateTime gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModify(LocalDateTime gmtModify) 
    {
        this.gmtModify = gmtModify;
    }

    public LocalDateTime getGmtModify() 
    {
        return gmtModify;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setCreateBy(Long createBy) 
    {
        this.createBy = createBy;
    }

    public Long getCreateBy() 
    {
        return createBy;
    }
    public void setUpdateBy(Long updateBy) 
    {
        this.updateBy = updateBy;
    }

    public Long getUpdateBy() 
    {
        return updateBy;
    }


    public Long getPageNum() {
        return pageNum;
    }

    public void setPageNum(Long pageNum) {
        this.pageNum = pageNum;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public String getOrderByColumn() {
        return orderByColumn;
    }

    public void setOrderByColumn(String orderByColumn) {
        this.orderByColumn = orderByColumn;
    }

    public String getIsAsc() {
        return isAsc;
    }

    public void setIsAsc(String isAsc) {
        this.isAsc = isAsc;
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public IPage getPageDTO() {
        return PageDTO.of(getPageNum(), getPageSize());
    }

    public List<String[]> getQueryProvinceAndCityAndDistrict() {
        return queryProvinceAndCityAndDistrict;
    }

    public void setQueryProvinceAndCityAndDistrict(List<String[]> queryProvinceAndCityAndDistrict) {
        this.queryProvinceAndCityAndDistrict = queryProvinceAndCityAndDistrict;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
